<?php


namespace app\model;


class AppUserBill extends Base
{
    public static function toSave($tid, $uid, $money, $type, $source, $desc)
    {
        $billCreate = AppUserBill::create(['tid' => $tid, 'uid' => $uid, 'money' => $money, 'type' => $type, 'desc' => $desc, 'source' => $source]);
        return $billCreate ? true : false;
    }

}